package com.ruoyi.system.domain;


import java.io.Serializable;

/**
 * 
 * @TableName share_plate
 */

public class SharePlate implements Serializable {

    private Integer id;

    /**
     * 板块名称
     */
    private String plateName;


    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 板块名称
     */
    public String getPlateName() {
        return plateName;
    }

    /**
     * 板块名称
     */
    public void setPlateName(String plateName) {
        this.plateName = plateName;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SharePlate other = (SharePlate) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getPlateName() == null ? other.getPlateName() == null : this.getPlateName().equals(other.getPlateName()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getPlateName() == null) ? 0 : getPlateName().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", plateName=").append(plateName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}